<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<style>
    .box {
        border-top: 5px solid rgb(218, 126, 21);
        border-bottom: 1px solid gray;
    }

    .box>a {
        width: 100px;
        height: 50px;
        text-align: center;
        line-height: 50px;
        display: inline-block;
        text-decoration: none;
        color: #b3b0b0;
    }


    .box a:hover {
        color: orange;
        background-color: #dbd4d4;
    }
</style>

<body>
    <div class="box">
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
        <a href="">新浪导航</a>
    </div>

</body>

</html>